<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>The source code</title>
  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  <style type="text/css">
    .highlight { display: block; background-color: #ddd; }
  </style>
  <script type="text/javascript">
    function highlight() {
      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
    }
  </script>
</head>
<body onload="prettyPrint(); highlight();">
  <pre class="prettyprint lang-js"><span id='global-property-'>/**
</span> * @ignore
 * gesture normalization for pc and touch.
 * @author yiminghe@gmail.com
 */
KISSY.add('event/dom/base/gesture', function () {

<span id='KISSY-Event-DomEvent-Gesture'>    /**
</span>     * gesture for event
     * @enum {String} KISSY.Event.DomEvent.Gesture
     * @alias KISSY.Event.Gesture
     */
    return {
<span id='KISSY-Event-DomEvent-Gesture-property-start'>        /**
</span>         * start gesture
         */
        start: 'mousedown',
<span id='KISSY-Event-DomEvent-Gesture-property-move'>        /**
</span>         * move gesture
         */
        move: 'mousemove',
<span id='KISSY-Event-DomEvent-Gesture-property-end'>        /**
</span>         * end gesture
         */
        end: 'mouseup',
<span id='KISSY-Event-DomEvent-Gesture-property-tap'>        /**
</span>         * tap gesture
         */
        tap: 'click',
<span id='KISSY-Event-DomEvent-Gesture-property-singleTap'>        /**
</span>         * singleTap gesture, it is  same with click on pc
         */
        singleTap: 'click',
<span id='KISSY-Event-DomEvent-Gesture-property-doubleTap'>        /**
</span>         * doubleTap gesture, it is  same with dblclick on pc
         */
        doubleTap: 'dblclick'
    };

});</pre>
</body>
</html>
